define(['app'], function(app) {
	'use strict';

	//实例化方法
	var factory = function(Http) {

		//返回信息
		return {
			//品牌详情
			detail:function(brand_id,callback){
				Http.post({
					method:'member.brand.detail',
					brand_id:brand_id
				}, function(result) {
					//函数回调
					if(callback)
						callback(result);
				});
			}
			
		};
	}

	factory.$inject = ['Http'];
	return app.registerService("Branddetail", factory);
});